package com.wxj.bank.module.modle.criteria;

import java.io.Serializable;

/**
 * @author shengtao
 * @Description: where查询对象
 * @date 2019/02/01 16:23
 */
public class Where implements Serializable{

    private ChildWhere[] childWheres;

    private JoinType joinType = JoinType.OR;

    public Where(ChildWhere[] childWheres, JoinType joinType) {
        this.childWheres = childWheres;
        this.joinType = joinType;
    }

    public ChildWhere[] getChildWheres() {
        return childWheres;
    }

    public void setChildWheres(ChildWhere[] childWheres) {
        this.childWheres = childWheres;
    }

    public JoinType getJoinType() {
        return joinType;
    }

    public void setJoinType(JoinType joinType) {
        this.joinType = joinType;
    }
}
